package com.yanjiali.entity;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.util.Date;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
* @Package: com.yanjiali.entity
* @Author: yanjiali
* @Created: 2025/4/23 21:33
*/
/**
    * 评论点赞表
    */
@ApiModel(value="com-yanjiali-entity-CommentLike")
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "comment_like")
public class CommentLike {
    /**
     * 评论点赞ID
     */
    @TableId(value = "id", type = IdType.AUTO)
    @ApiModelProperty(value="评论点赞ID")
    private Long id;

    /**
     * 用户id
     */
    @TableField(value = "uid")
    @ApiModelProperty(value="用户id")
    private Long uid;

    /**
     * 评论id
     */
    @TableField(value = "comment_id")
    @ApiModelProperty(value="评论id")
    private Long commentId;

    /**
     * 创建时间
     */
    @TableField(value = "create_time", fill = FieldFill.INSERT)
    @ApiModelProperty(value="创建时间")
    private Date createTime;

    /**
     * 修改时间
     */
    @TableField(value = "update_time", fill = FieldFill.UPDATE)
    @ApiModelProperty(value="修改时间")
    private Date updateTime;
}